package com.codejoys.monitor.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Config implements Serializable {
    private Integer id;

    private String model;

    private String house;

    private BigDecimal voltage;

    private BigDecimal current;

    private BigDecimal powerUpper;

    private BigDecimal powerLower;

    private Integer agingUpper;

    private Integer agingLower;

    private BigDecimal voltageUpper;

    private BigDecimal voltageLower;

    private BigDecimal currentUpper;

    private BigDecimal currentLower;

    private Byte autoTurnoffThreshold;

    private Byte autoTurnoffEnabled;

    private Integer duration;

    private Date created;

    private Integer createdBy;

    private Date updated;

    private Integer updatedBy;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house;
    }

    public BigDecimal getVoltage() {
        return voltage;
    }

    public void setVoltage(BigDecimal voltage) {
        this.voltage = voltage;
    }

    public BigDecimal getCurrent() {
        return current;
    }

    public void setCurrent(BigDecimal current) {
        this.current = current;
    }

    public BigDecimal getPowerUpper() {
        return powerUpper;
    }

    public void setPowerUpper(BigDecimal powerUpper) {
        this.powerUpper = powerUpper;
    }

    public BigDecimal getPowerLower() {
        return powerLower;
    }

    public void setPowerLower(BigDecimal powerLower) {
        this.powerLower = powerLower;
    }

    public Integer getAgingUpper() {
        return agingUpper;
    }

    public void setAgingUpper(Integer agingUpper) {
        this.agingUpper = agingUpper;
    }

    public Integer getAgingLower() {
        return agingLower;
    }

    public void setAgingLower(Integer agingLower) {
        this.agingLower = agingLower;
    }

    public BigDecimal getVoltageUpper() {
        return voltageUpper;
    }

    public void setVoltageUpper(BigDecimal voltageUpper) {
        this.voltageUpper = voltageUpper;
    }

    public BigDecimal getVoltageLower() {
        return voltageLower;
    }

    public void setVoltageLower(BigDecimal voltageLower) {
        this.voltageLower = voltageLower;
    }

    public BigDecimal getCurrentUpper() {
        return currentUpper;
    }

    public void setCurrentUpper(BigDecimal currentUpper) {
        this.currentUpper = currentUpper;
    }

    public BigDecimal getCurrentLower() {
        return currentLower;
    }

    public void setCurrentLower(BigDecimal currentLower) {
        this.currentLower = currentLower;
    }

    public Byte getAutoTurnoffThreshold() {
        return autoTurnoffThreshold;
    }

    public void setAutoTurnoffThreshold(Byte autoTurnoffThreshold) {
        this.autoTurnoffThreshold = autoTurnoffThreshold;
    }

    public Byte getAutoTurnoffEnabled() {
        return autoTurnoffEnabled;
    }

    public void setAutoTurnoffEnabled(Byte autoTurnoffEnabled) {
        this.autoTurnoffEnabled = autoTurnoffEnabled;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", model=").append(model);
        sb.append(", house=").append(house);
        sb.append(", voltage=").append(voltage);
        sb.append(", current=").append(current);
        sb.append(", powerUpper=").append(powerUpper);
        sb.append(", powerLower=").append(powerLower);
        sb.append(", agingUpper=").append(agingUpper);
        sb.append(", agingLower=").append(agingLower);
        sb.append(", voltageUpper=").append(voltageUpper);
        sb.append(", voltageLower=").append(voltageLower);
        sb.append(", currentUpper=").append(currentUpper);
        sb.append(", currentLower=").append(currentLower);
        sb.append(", autoTurnoffThreshold=").append(autoTurnoffThreshold);
        sb.append(", autoTurnoffEnabled=").append(autoTurnoffEnabled);
        sb.append(", duration=").append(duration);
        sb.append(", created=").append(created);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", updated=").append(updated);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}